package com.sls.web.manager.recharge.service;

import java.util.List;

import com.sls.web.manager.page.Pagination;
import com.sls.web.manager.pojo.UserInfoVO;
import com.sls.web.manager.recharge.pojo.NativeRechargeRule;
import com.sls.web.manager.recharge.querybean.NativeRechargeRuleQuery;

/**
 * @author sxf
 * 
 */
public interface NativeRechargeRuleService {

	/**
	 * 参数:id,本地充值供货规则编码;code,区域代码;phoneType,号码类型(联通，移动，固话等)
	 * 
	 * @param query
	 * @param userInfoVO
	 * @return
	 * @throws Exception
	 */
	public Pagination<NativeRechargeRule> queryPage(
			NativeRechargeRuleQuery query, UserInfoVO userInfoVO)
			throws Exception;

	/**
	 * 参数:id,本地充值供货规则编码;code,区域代码;phoneType,号码类型(联通，移动，固话等)
	 * 
	 * @param query
	 * @param userInfoVO
	 * @return
	 * @throws Exception
	 */
	public List<NativeRechargeRule> queryList(NativeRechargeRuleQuery query,
			UserInfoVO userInfoVO) throws Exception;

	/**
	 * 参数:id,本地充值供货规则编码;code,区域代码;phoneType,号码类型(联通，移动，固话等)
	 * 
	 * @param query
	 * @param userInfoVO
	 * @return
	 * @throws Exception
	 */
	public NativeRechargeRule queryOne(NativeRechargeRuleQuery query,
			UserInfoVO userInfoVO) throws Exception;

	/**
	 * 查询全部信息
	 * 
	 * @param query
	 * @param userInfoVO
	 * @return
	 * @throws Exception
	 */
	public List<NativeRechargeRule> queryAllList(NativeRechargeRuleQuery query,
			UserInfoVO userInfoVO) throws Exception;

	public String insert(NativeRechargeRule info, UserInfoVO userInfoVO)
			throws Exception;

	public boolean update(NativeRechargeRule info, UserInfoVO userInfoVO)
			throws Exception;

	public boolean delete(NativeRechargeRule info, UserInfoVO userInfoVO)
			throws Exception;

}
